package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.History;
import jtk.project4.fleet.domain.Objects;
import jtk.project4.fleet.domain.RbDept;
import jtk.project4.fleet.domain.RbLoc;
import jtk.project4.fleet.event.WorkOrderManagementEvent.WorkOrderManagementEventType;
import nl.coderight.jazz.Event;

public class WorkOrderManagementEvent extends Event<WorkOrderManagementEventType>{
	private List<History> historys;
	private List<RbDept> rbDept;
	private List<RbLoc> rbLoc;

	public enum WorkOrderManagementEventType{
		LOAD_SUCCESS,
		VIEW, ADD ,EDIT, CLOSE, CHANGE, SELECT, DELETE, FILTER;
	}


	public WorkOrderManagementEvent(WorkOrderManagementEventType type) {
		super(type);
	}

	public void setHistorys(List<History> historys) {
		this.historys = historys;
	}

	public List<History> getHistorys() {
		return historys;
	}

	

	public void setRbDept(List<RbDept> rbDept) {
		this.rbDept = rbDept;
	}

	public List<RbDept> getRbDept() {
		return rbDept;
	}

	public void setRbLoc(List<RbLoc> rbLoc) {
		this.rbLoc = rbLoc;
	}

	public List<RbLoc> getRbLoc() {
		return rbLoc;
	}
	
	
}
